def WinningEvaluation(piece):
	winscr = 0
	
	winscr += piece.count("P") * 10
	winscr += piece.count("N") * 35
	winscr += piece.count("B") * 35
	winscr += piece.count("R") * 55
	winscr += piece.count("Q") * 95
	winscr += piece.count("K") * 90000
	
	winscr -= piece.count("p") * 10
	winscr -= piece.count("n") * 35
	winscr -= piece.count("b") * 35
	winscr -= piece.count("r") * 55
	winscr -= piece.count("q") * 95
	winscr -= piece.count("k") * 90000
	
	return winscr
